package com.kch.system.mapper;

import com.kch.system.domain.SysMember;
import com.kch.system.vo.MemberListVO;
import com.kch.system.vo.MemberPageVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMemberMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysMember record);

    int insertSelective(SysMember record);

    SysMember selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysMember record);

    int updateByPrimaryKey(SysMember record);

    int selectIsMember(@Param("userId") Integer userId);

    List<MemberPageVO> selectMemberPage(MemberPageVO pageVO);

    MemberPageVO selectMemberVO(@Param("id") Integer id);

    List<MemberListVO> selectMemberList();
}